<?php

class WebAction {
	private $Name;

	public function name() {
		return $this->Name;
	}

	public function setName($newValue) {
		$this->Name = $newValue;
		return $this;
	}

	private $Captures = array();

	public function captures() {
		return $this->Captures;
	}

	public function setCaptures($newValue) {
		$this->Captures = $newValue;
		return $this;
	}

	public function setCaptureForKey($key, $value) {
		$this->Captures[$key] = $value;
		return $this;
	}
	
	public function captureForKey($key) {
		return $this->Captures[$key];
	}
	
	static function makeNew() {
		return new WebAction();
	} 
}

?>